home *** CD-ROM | disk | FTP | other *** search
- Path: twain.oit.umass.edu!ksnella
- From: ksnella@twain.oit.umass.edu (Kenneth A Snella)
- Newsgroups: comp.lang.c
- Subject: Library, header file problem
- Date: 2 Feb 1996 03:08:12 GMT
- Organization: University of Massachusetts, Amherst
- Message-ID: <4erv6s$8u7@nic.umass.edu>
- NNTP-Posting-Host: twain.oit.umass.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- I'm having a problem, that I thought someone may be able to help me
- with. I'm using Borland C++ 3.1, but programming primarily in C. I'm
- trying to create a Library of functions that I use, but those functions
- manipulate structures that I define. If I include the structure
- definitions in the library, it compiles fine, and I can add it to my
- library. However, when I try to compile the main program... the library
- has the items defined (the names), but it does not seem to recognize the
- individual items within those structures, so... if I define the
- structures again, I get errors saying there are multiple declairations,
- but if I leave it out, I get an error saying that all of the elements of
- the structures are unknown. What's the deal? How can I get ALL of it to
- come through from the library, or even redeclare the structures?
-
-